<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>>
<head profile="http://gmpg.org/xfn/11">
	<meta http-equiv="Content-Type" content="<?php bloginfo('html_type'); ?>; charset=<?php bloginfo('charset'); ?>" />
	<title><?php wp_title('&laquo;', true, 'right'); ?> <?php bloginfo('name'); ?></title>
	<meta name="Generator" content="DesignJotter Theme Framework http://designjotter.com"/>
	<meta name="apple-mobile-web-app-capable" content="yes"/>
	<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"/>
	<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, width=device-width"/>
	<style type="text/css" media="screen">@import url(<?php bloginfo('stylesheet_url'); ?>);</style>
	<link rel="pingback" href="<?php bloginfo('pingback_url'); ?>" />
	<link rel="shortcut icon" href="<?php print get_template_directory_uri();?>/favicon.png" type="image/png" />
	<?php 
		// Load the archives
		wp_get_archives('type=monthly&format=link'); 
		
		// We use jQuery
		wp_enqueue_script("jquery"); 
		
		// Load the head data
		wp_head();
		
		// Simplified layout?
		octoms('session')->start();
		$simplified = @(bool)(isset($_SESSION) && isset($_SESSION['__flash__']['simplified']));
	?>
	<!-- AddThis Button BEGIN -->
	<script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=xa-502245c117e29dc5"></script>
	<!-- AddThis Button END -->
</head>
<body <?php body_class(octoms('settings',OMS_L)->get('body_class').($simplified?' simplified':'')); ?>>
<?php if (!$simplified):?>
<div class="top-slice">
	<div class="top-slice-overlay">
		<div class="top container">
			<div class="sixteen columns top">
				<div class="seven columns">
				<span id="header">
					<?php octoms('template',OMS_L)->header(false,null,true);?>
				</span>
				</div>
				<div class="nine columns">
					<div class="top-icon for-search"></div>
					<?php get_search_form(true);?>
					<div class="top-icon for-menu"></div>
					<?php octoms('template',OMS_L)->menu_theme('top',array('class'=>'menu-top-dropdown'),null,true);?>
				</div>
				<div class="clearfix"></div>
			</div>
		</div>
	</div>
</div>
<?php endif;?>